package campus.aiit.ssl.dao;

import campus.aiit.ssl.domain.model.SchoolZone;
import campus.aiit.ssl.manage.custom.dao.BaseDao;
import campus.aiit.ssl.manage.custom.dao.DaoResultCheck;

import java.util.List;
import java.util.Map;

/**
 * @author ihaokun
 * @date 2019/12/1 14:48
 */
public interface SchoolZoneDao extends BaseDao<SchoolZone> {
  @Override@DaoResultCheck
  int deleteByPrimaryKey(Long id);

  @Override@DaoResultCheck
  int insertSelective(SchoolZone record);

  @Override
  SchoolZone selectByPrimaryKey(Long id);

  @Override@DaoResultCheck
  int updateByPrimaryKeySelective(SchoolZone record);

  SchoolZone[] selectArray();

  List<Map<String, Object>> deleteCheck();
}